package com.massteam.admin;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import com.massteam.pojo.Apk;
import com.massteam.service.ApkService;
import com.opensymphony.xwork2.ActionSupport;


@SuppressWarnings("unused")
@Component("AdminAppAction")
public class AdminAppAction extends ActionSupport{
	private static final long serialVersionUID = -6356307819518359036L;
	
	@Autowired
	@Qualifier("apkService")
	private ApkService apkService;
	
	private Apk apk;
	private String id;
	
	
	public String index(){
		
		return "index";
	}
	
	public String getAjaxList(){
		
		return "list_success";
	}
	
	public String toAdd(){
		
		return "toAdd";
	}
	
	public String add(){
		
		return "success";
	}
	
	public String toUpdate(){
		
		return "toUpdate";
	}
	
	public String update(){
		
		return "success";
	}

	public Apk getApk() {
		return apk;
	}

	public void setApk(Apk apk) {
		this.apk = apk;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

}
